<?php

declare(strict_types=1);

namespace App\Model;


/**
 * @property int $id
 * @property int $uid 用户id
 * @property string $date_time 日期
 * @property int $type 类型 0在线时长、1视频人数和2语音人数
 * @property int $status 0 开始任务 1 完成任务，等待领取奖励 2 已领取任务，任务结束 3任务未完成 已结束
 * @property int $current
 * @property int $complete
 * @property int $money 奖励
 * @property int $ctime 创建时间
 * @property int $utime 修改时间
 * @property string $end_date_time 结算日期
 */
class AnchorTask extends Model
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'tb_anchor_task';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = [];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'uid' => 'integer', 'type' => 'integer', 'status' => 'integer', 'current' => 'integer', 'complete' => 'integer', 'money' => 'integer', 'ctime' => 'integer', 'utime' => 'integer'];
}
